/*
 * 类目 基础管理 事务管理  捐赠维护
 */
import { getRequest, postRequest, uploadRequest, downloadRequestget } from '/@/lib/axios';

export const Fundingapproval = {
  //   筹资审批
  FundProvalInit: (param) => {
    return getRequest('/foundation/blfinancproject/getApprovalInfo', param);
  },
  //审批通过驳回
  updateStatus: (param) => {
    return getRequest('/foundation/blfinancproject/updateStatus', param);
  },
  //筹资审核
  FundAuditval: (param) => {
    return getRequest('/foundation/blfinancproject/getAuditInfo', param);
  },
  //   筹资项目上传
  updateLoadCode: (id, param) => {
    return uploadRequest(`/foundation/blfinancproject/uploadQrCode?id=${id}`, param);
  },
  //筹资协议下载
  DowloadProval: (param) => {
    return getRequest(`/foundation/blfinancproject/getAgreement`, param);
  },
};
